﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace GolfLeague.Models
{
    [MetadataType(typeof(ScoringMethod_Validation))]
    public partial class ScoringMethod
    {
    }

    public class ScoringMethod_Validation
    {
        [Required]
        [StringLength(100)]
        [Display(Name = "Scoring Method")]
        public string ScoringMethodName { get; set; }

        [Required]
        [Display(Name = "Scoring Type")]
        public int ScoringTypeID { get; set; }

        [Required]
        [Display(Name = "Scoring Calculation")]
        public int ScoringCalculationID { get; set; }
    }
}